package cn.driver.common.pojo;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class Reserve implements Serializable {

    private static final long serialVersionUID = -6386284062041770614L;

    @ApiModelProperty("预约ID")
    private String resId;
    @ApiModelProperty("预约教练ID")
    private Integer coaId;
    @ApiModelProperty("预约学员ID")
    private Integer stuId;
    @ApiModelProperty("预约课程ID")
    private Integer courseId;

    @ApiModelProperty("预约时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date resTime;
    @ApiModelProperty("备注")
    private String comment;
    @ApiModelProperty("预约状态")
    private int status;

    private Coach coach;
    private Student student;
    private Course course;

    public Coach getCoach() {
        return coach;
    }

    public void setCoach(Coach coach) {
        this.coach = coach;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public String getResId() {
        return resId;
    }

    public void setResId(String resId) {
        this.resId = resId;
    }


    public Integer getCoaId() {
        return coaId;
    }

    public void setCoaId(Integer coaId) {
        this.coaId = coaId;
    }


    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }


    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }


    public Date getResTime() {
        return resTime;
    }

    public void setResTime(Date resTime) {
        this.resTime = resTime;
    }


    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
